<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('index')}">{:lang('商品规格管理')}</a></li>
        <li><a href="{:url('specAttr',array('type_id'=>$attrData['type_id']))}">{$typeData.name} - 规格属性</a></li>
        <li><a href="{:url('specVal',array('id'=>$attrData['id']))}">{$attrData.attr_name} - 属性值</a></li>
        <li class="active"><a href="#">新增 {$attrData.attr_name} 属性值</a></li>
    </ul>
    <form method="post" class="form-horizontal margin-top-20 js-ajax-form" action="">
        <div class="form-group">
            <label for="attr_name" class="col-sm-2 control-label"><span class="form-required">*</span>属性值名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="attr_name" name="attr_value">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="type_id" value="{$attrData['type_id']}">
                <input type="hidden" name="attr_id" value="{$attrData['id']}">
                <input type="hidden" name="attr_name" value="{$attrData['attr_name']}">
                <button type="submit" class="btn btn-info js-ajax-submit">
                    {:lang('ADD')}
                </button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>